<div data-role="content">
<table>
<?php 

  if( $items )
  {
  	foreach( $items as $item )
  	{
  		echo '<tr><td style="padding-right:10px;padding-bottom:20px;"><a class="lightbox" href="images/products/'.$item->getImg().'_350.jpg"><img src="images/products/'.$item->getImg().'_150.jpg"/></a></td><td style="padding-bottom:20px;"><h3>'.$item->getName().'</h3>';
  		echo $item->getDescription().'<br />';
  		echo $item->getPoints().' ecopunts<br />';
  		echo '<input type="button" value="Demanar!" /></td></tr>';
  	}
  }
?>
</table>
<script type="text/javascript">
$(function() {
  // Use this example, or...
  $('a.lightbox').lightBox(); // Select all links that contains lightbox in the attribute rel
});
</script>
</div>